// import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const DASHBOARD: AppRouteRecordRaw = {
	path: '/dashboard',
	name: 'dashboard',
	//  component: DEFAULT_LAYOUT,
	redirect: '/dashboard/dashboardindex',
	meta: {
		locale: '首页',
		ignoreCache: true,
		requiresAuth: true,
		roles: '*',
		icon: 'icon-dashboard',
		order: 0,
		hideInMenu: false,
	},
	children: [{
		path: 'dashboardindex',
		name: 'dashboardindex',
		component: () =>
			import('@/views/imgadmin/index.vue'),
		meta: {
			locale: '首页',
			ignoreCache: true,
			requiresAuth: true,
			roles: '*',
			hideInMenu: true,
			activeMenu: 'dashboard'
		},
	}, ],
};

export default DASHBOARD;